//
//  HOTMemoListCell.h
//  Genpara
//
//  Created by AndyChang.zhang on 14-9-22.
//  Copyright (c) 2014年 zhangchh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HOTNickLabel.h"

@protocol HOTMemoListCellDelegate <NSObject>

-(void)memoDetailBtnClicked:(NSIndexPath *)selIndexPath;
-(void)selectedItem:(BOOL)selected indexPath:(NSIndexPath *)indexPath;

@end

@interface HOTMemoListCell : UITableViewCell {
    
    __weak IBOutlet UIButton *_checkBtn;
    __weak IBOutlet UIView *_bgView;
    
    BOOL isEdit;
}
@property (weak, nonatomic) IBOutlet HOTNickLabel *nameLab;
@property (weak, nonatomic) IBOutlet UILabel *cityLab;
@property (weak, nonatomic) IBOutlet UILabel *dateTimeLab;
@property (strong, nonatomic) NSIndexPath *indexPath;
@property (weak, nonatomic) id<HOTMemoListCellDelegate> delegate;

- (IBAction)memoBtnClicked:(id)sender;
-(BOOL)isEdit;
-(void)setEdit:(BOOL)flg animated:(BOOL)animated;
-(void)setSelectedItem:(BOOL)selected;
- (IBAction)checkBtnClicked:(id)sender;
@end
